def Weight_earth2moon(weight_earth):
    weight_moon = weight_earth * 0.165
    return weight_moon

def Weight_month2earth(weight_moon):
    weight_earth = weight_moon / 0.165
    return weight_earth

def Weight_printNYear(initial_weight, yeargrow, N):
    print("年份:", end="\t")
    for i in range(N + 1):
        print(i, end="\t")
    print("\n重量:", end="\t")
    for i in range(N + 1):
        print(initial_weight + i * yeargrow, end="\t")

initial_weight = 50
yeargrow = 0.5
following_year = 10

Weight_printNYear(initial_weight, yeargrow, following_year)



